host-interaction/os/version

get Linux distribution

rule:
  meta:
    name: get Linux distribution
    namespace: host-interaction/os/version
    authors:
      - joakim@intezer.com
    scopes:
      static: function
      dynamic: thread
    att&ck:
      - Discovery::System Information Discovery [T1082]
    examples:
      - 7351f8a40c5450557b24622417fc478d:0x405438
  features:
    - and:
      - os: linux
      - match: host-interaction/file-system/read
      - or:
        - string: "/etc/os-release"
        - string: "/etc/lsb-release"
        - string: "/etc/issue"

last edited: 2023-11-24 10:35:00